home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
3D Class Library
/
cosin.h
< prev
next >
Wrap
Text File
|
1996-06-27
|
546b
|
23 lines
// =======================================================================
// 3D Class Library, © Xilex Group
// - ------------------------------------------------------------------- -
// Written by Dmitry Boldyrev
// =======================================================================
#pragma once
#include "types.h"
#ifndef PI
#define PI 3.14592654
#endif
#define PI2 1.57296327
#define BOUND360(x) (((x) < 0) ? (x)+360 : (x))
void initSinCos();
WORD RSIN(WORD deg);
WORD DSIN(SINGLE rad);
WORD RCOS(WORD deg);
WORD DCOS(SINGLE rad);